package cn.antsing.hellospringboot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sunyuanqing
 * @company www.fishonline.com
 * @date 2018/4/13 0013
 */
@RestController
public class HelloWorldController {
    @RequestMapping("/")
    public String hello(){
        return "hello!I am spring boot!";
    }
}
